<link href="/shop/resource//font/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="/shop/templates/default/css/base.css" rel="stylesheet" type="text/css">
<link href="/shop/templates/default/css/seller_center.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/data/resource/js/member.js"></script>
<div class="tabmenu" style="width: 95%; margin: 0 auto 20px auto;">
<ul class="tab pngFix">
    <li><a class="normal" href="index.php?act=store&amp;op=map&store_id=<?php echo $_GET['store_id'] ?>">地图显示 </a></li><li class="active"><a href="index.php?act=store&amp;op=list&store_id=<?php echo $_GET['store_id'] ?>">列表显示 </a></li></ul>
</div>
<table style="width: 95%; margin: 0 auto">
  <thead>
    <tr>
        <th class="w10"></th>
        <th class="w150">实体店铺名称</th>
      <th class="w250">电话</th>
      <th>详细地址/公交</th>
      <th class="w100"><?php echo $lang['nc_handle'];?></th>
</tr>
</thead>
<tbody>
<?php if (is_array($output['map_list']) && !empty($output['map_list'])) { ?>
    <?php foreach ($output['map_list'] as $key => $val) { ?>
        <tr class="bd-line" >
            <td></td>
            <td><?php echo $val['name_info']; ?></td>
            <td><?php echo $val['phone_info']; ?></td>
            <td class="tl"><dl class="map-address"><dt><?php echo $val['address_info']; ?></dt>
                    <dd>公交<?php echo $lang['nc_colon'];?><?php echo $val['bus_info']; ?></dd></dl></td>
            <td class="nscs-table-handle">
                <span><a href="javascript:void(0)" class="btn-mint" nc_type="dialog" dialog_title="<?php echo $lang['nc_edit'];?>" dialog_id="map_edit" dialog_width="480" uri="index.php?act=store&op=edit_map&store_id=<?php echo $_GET['store_id']; ?>&map_id=<?php echo $val['map_id']; ?>"><i class="icon-edit"></i><p><?php echo $lang['nc_edit'];?></p></a></span>
                <span><a href="javascript:void(0)" onclick="ajax_get_confirm('<?php echo $lang['nc_ensure_del'];?>', '<?php echo APP_SITE_URL ?>/index.php?act=store&op=del_map&store_id=<?php echo $_GET['store_id']; ?>&map_id=<?php echo $val['map_id']; ?>');" class="btn-grapefruit"><i class="icon-trash"></i><p><?php echo $lang['nc_del'];?></p></a></span>
            </td>
        </tr>
    <?php } ?>
<?php } else { ?>
    <tr>
        <td colspan="20" class="norecord"><div class="warning-option"><i class="icon-warning-sign">&nbsp;</i><span><?php echo $lang['no_record'];?></span></div></td>
    </tr>
<?php } ?>
</tbody>
<tfoot>
<?php if (is_array($output['map_list']) && !empty($output['map_list'])) { ?>
    <tr>
        <td colspan="20"><div class="pagination"><?php echo $output['show_page']; ?></div></td>
    </tr>
<?php } ?>
</tfoot>
</table>